package com.zhinong.service;

import com.zhinong.dto.ShoppingCartDTO;
import com.zhinong.entity.Order;

import java.util.List;
import java.util.Map;

public interface CartService {
    void add(ShoppingCartDTO shoppingCartDTO);

    List<Order> getCartOrders();

    void updateQuantity(String productId, Integer change);

    void updateSelection(String id, Boolean selected, Boolean isStore);

    Map<String, Object> getCartTotal();
}
